<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<title>活动录入</title>
<link href="${ctx}/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/js/select-ui.min.js"></script>


<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
	
});


function checkdata(){
	  if ($("#inputid1").val() == '') {
		  alert("带*的值必须录入");
		  return false;
	  }
	return true;
}
</script>

</head>

<body>
<c:if test="${not empty msg}">
			<div id="message" style="color: red;" align="center">
				${msg}
			</div>
</c:if>
	
	<c:if test="${empty msg}">

    
    <div class="formbody">
    
    <div class="formtitle"><span>上传用户文件</span></div>
  <form:form action="${ctx}/luckuser/tzupload" method="post" enctype="multipart/form-data">
    <ul class="forminfo">
      <li><label>活动选择<b>*</b></label>  
    <div class="vocation">
    <select id="my_select_select" name="aid" class="select1">
    <c:forEach items= "${activitys}" var="maste">
    <option value="${maste.id}"  
    >${maste.name}</option>
    </c:forEach>
    </select>
    </div>
    </li>
    <li><label>选择文件</label>
    <input type="file" name="file" /></li>
    
   	
    <li><label>&nbsp;</label><input type="submit" onclick="javascript:return checkdata()" class="btn" value="确认保存"/></li>
    </ul>
    
    </form:form>
    </div>
</c:if>

</body>

</html>
